In this exercise you will expand the Banking project by adding a Customer class. A customer will contain one Account object.
|
Note: You should know the UML notations to understand this diagram. For example, the account relationship can be implemented as a data attribute in the Customer class; even though, it is not mentioned in the "attributes" section of the Customer class block. |
Start by changing your working directory to lab05/exercise1 on your computer.
Creating the customer Jane Smith. Creating her account with a 500.00 balance. Withdraw 150.00 Deposit 22.50 Withdraw 47.62 Customer [Smith, Jane] has a balance of 324.88